package decorator;

/**
 * @author : DuJiabao
 * @Date : 2021/3/3 14:24
 * @Project : design-pattern
 * @File : null.java
 * @Desc :
 */
public abstract class Drink {
  private String desc;
  private double price;

  public Drink() {
  }

  public Drink(String desc, double price) {
    this.desc = desc;
    this.price = price;
  }

  public String getDesc() {
    return desc;
  }

  public void setDesc(String desc) {
    this.desc = desc;
  }

  public double getPrice() {
    return price;
  }

  public void setPrice(double price) {
    this.price = price;
  }

  public abstract double cost();

  public abstract String getDescription();
}
